Skip to content

Fix custom MySQL DB port handling#11

Merged
devakone merged 1 commit into
mainfrom
codex/fix-custom-db-port
May 16, 2026
Merged

Fix custom MySQL DB port handling#11
devakone merged 1 commit into
mainfrom
codex/fix-custom-db-port

Conversation

@devakone

Copy link
Copy Markdown
Owner

Summary

  • Fix pool initialization so database pools are created after dotenv has loaded configuration
  • Pass [ENV]_DB_PORT through to mysql2 pool config instead of falling back to 3306
  • Reuse the shared pool map for the info tool and add regression coverage for custom ports

Validation

  • npm test
  • npm run build

Fixes #8

@devakone devakone force-pushed the codex/fix-custom-db-port branch from 16e4563 to 8847482 Compare May 16, 2026 18:38
@devakone devakone merged commit a7fdde1 into main May 16, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

bug: Pool.js is not passing properly the port

1 participant